<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%-- <%@ page errorPage="div_error.jsp" %> --%>
<%
int num1 = Integer.parseInt(request.getParameter("num1"));
int num2 = Integer.parseInt(request.getParameter("num2"));
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>나누기 연산 결과</title>
</head>
<body>

<%= num1 %> / <%= num2 %> = <%= (double)num1 / num2 %>
<br/><br/>
<a href="div.html">Back</a>

</body>
</html>